package cn.regexp.utils;

import cn.regexp.domain.ShopConsignee;

public abstract class CommonUtil {
    /**
     * 拼接收货人地址
     *
     * @param consignee 收货人
     * @return 完整地址
     */
    public static String getFullAddress(ShopConsignee consignee) {
        return consignee.getUniversityName() + consignee.getCampusName() +
                consignee.getBuildingName() + consignee.getDetailInfo();
    }
}
